package com.ruoyi.make.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产领料对象 scll_production_material_requisition
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class ScllProductionMaterialRequisition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领料记录id */
    private Long scllId;

    /** 领料单号 */
    @Excel(name = "领料单号")
    private String lldh;

    /** 领料单状态 1.已经领料 0.未领料 */
    @Excel(name = "领料单状态 1.已经领料 0.未领料")
    private Long lldState;

    /** 生产工单编码 */
    @Excel(name = "生产工单编码")
    private String gdCode;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 申请人 */
    @Excel(name = "申请人")
    private String proposer;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 生产领料所需物料信息 */
    private List<ScllMaterialRequiredRescord> scllMaterialRequiredRescordList;

    public void setScllId(Long scllId) 
    {
        this.scllId = scllId;
    }

    public Long getScllId() 
    {
        return scllId;
    }
    public void setLldh(String lldh) 
    {
        this.lldh = lldh;
    }

    public String getLldh() 
    {
        return lldh;
    }
    public void setLldState(Long lldState) 
    {
        this.lldState = lldState;
    }

    public Long getLldState() 
    {
        return lldState;
    }
    public void setGdCode(String gdCode) 
    {
        this.gdCode = gdCode;
    }

    public String getGdCode() 
    {
        return gdCode;
    }
    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }
    public void setProposer(String proposer) 
    {
        this.proposer = proposer;
    }

    public String getProposer() 
    {
        return proposer;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }

    public List<ScllMaterialRequiredRescord> getScllMaterialRequiredRescordList()
    {
        return scllMaterialRequiredRescordList;
    }

    public void setScllMaterialRequiredRescordList(List<ScllMaterialRequiredRescord> scllMaterialRequiredRescordList)
    {
        this.scllMaterialRequiredRescordList = scllMaterialRequiredRescordList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scllId", getScllId())
            .append("lldh", getLldh())
            .append("lldState", getLldState())
            .append("gdCode", getGdCode())
            .append("principal", getPrincipal())
            .append("proposer", getProposer())
            .append("applicationTime", getApplicationTime())
            .append("scllMaterialRequiredRescordList", getScllMaterialRequiredRescordList())
            .toString();
    }
}
